import request from '@/utils/request'

export function getRenovates(query) {
  return request({
    url: '/program/renovate/getList',
    method: 'post',
    data: query
  })
}

export function getRenovate(id) {
  return request({
    url: '/program/renovate/getDetail',
    method: 'post',
    data: id
  })
}

export function saveRenovate(id) {
  return request({
    url: '/program/renovate/save',
    method: 'post',
    data: id
  })
}

export function removeRenovateByID(id) {
  return request({
    url: '/program/renovate/delete',
    method: 'post',
    data: id
  })
}

export function changeRenovateStatusByID(id) {
  return request({
    url: '/program/renovate/change-status',
    method: 'post',
    data: id
  })
}

